Fix bug that created negative-length intervals.
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 18 Jul 2012 21:33:37 +0000 (14:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Jul 2012 21:33:37 +0000 (14:33 -0700)
commitd2821dbe4e8470f1b0da5d781ddd52e0648cbd55
tree36e5a8a2c6ac4fbd5944a8b757a48bd000a64bcf
parent0db692d8c70a90df8abc0df703e723222ad7ff0d
Fix bug that created negative-length intervals.

* intervals.c (merge_interval_right, merge_interval_left):
Do not zero out this interval if it is absorbed by its children,
as this interval's total length doesn't change in that case.  See
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00403.html>.
src/ChangeLog
src/intervals.c